﻿using System.Collections.Generic;

namespace Spider.Mode
{
    public class DxwEventListMode
    {
        /// <summary>
        /// 错误码
        /// </summary>
        public int code { get; set; }

        /// <summary>
        /// 错误信息
        /// </summary>
        public string msg { get; set; }

        /// <summary>
        /// 数据
        /// </summary>
        public Data data { get; set; }

        public class Param
        {
            /// <summary>
            /// 
            /// </summary>
            public string item_id { get; set; }

            /// <summary>
            /// 
            /// </summary>
            public string event_type { get; set; }

            /// <summary>
            /// 
            /// </summary>
            public string code { get; set; }

            /// <summary>
            /// 
            /// </summary>
            public string url { get; set; }
        }

        public class HeadList
        {
            /// <summary>
            /// 盘中异动
            /// </summary>
            public string t { get; set; }

            /// <summary>
            /// 
            /// </summary>
            public Param param { get; set; }
        }

        public class TagsItem
        {
            /// <summary>
            /// 
            /// </summary>
            public string url { get; set; }

            /// <summary>
            /// 
            /// </summary>
            public string w { get; set; }

            /// <summary>
            /// 
            /// </summary>
            public string h { get; set; }
        }

        public class ItemList
        {
            /// <summary>
            /// 
            /// </summary>
            public string date { get; set; }

            /// <summary>
            /// 
            /// </summary>
            public string event_date { get; set; }

            /// <summary>
            /// 
            /// </summary>
            public string time { get; set; }

            /// <summary>
            /// 
            /// </summary>
            public string ctime { get; set; }

            /// <summary>
            /// 
            /// </summary>
            public int future { get; set; }

            /// <summary>
            /// 
            /// </summary>
            public int is_zixuan { get; set; }

            /// <summary>
            /// 
            /// </summary>
            public int not_detail { get; set; }

            /// <summary>
            /// 啤酒板块急速拉升至5.28%
            /// </summary>
            public string title { get; set; }

            /// <summary>
            /// 
            /// </summary>
            public Param param { get; set; }

            /// <summary>
            /// 
            /// </summary>
            public List<HeadList> head_list { get; set; }

            /// <summary>
            /// 
            /// </summary>
            public List<TagsItem> tags { get; set; }
        }

        public class Data
        {
            /// <summary>
            /// 
            /// </summary>
            public List<ItemList> item_list { get; set; }

            /// <summary>
            /// 
            /// </summary>
            public string cz_url { get; set; }

            /// <summary>
            /// 
            /// </summary>
            public string cz_last_udp { get; set; }

            /// <summary>
            /// 
            /// </summary>
            public int is_follow { get; set; }
        }
    }
}